(function() {
	var path = 'js/extjs/',
		isDevelopment = true,
		withComments = true,
		scripts = [
			'js/extjs/locale/ext-lang-ru.js',
			'js/menu.js',
			'js/mailboxes.js',
			'js/headerToolbar.js',
			'js/mailheader.js',
			'js/messageInfo.js',
			'js/messageBody.js',
			'js/mainarea.js',
			'js/copyrights.js',
			'js/application.js'
		];
	document.write('<script type="text/javascript" src="' + path + 'ext-all' + ((isDevelopment) ? '-debug' : '') + ((isDevelopment) ? '-w-comments' : '') + '.js"></script>');
	for(var str in scripts)
		document.write('<script type="text/javascript" src="' + scripts[str] + '"></script>');
})();

